package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Xiao
 * @version 1.0
 * @description ap_author实体类
 * @date 2021/11/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("ap_author")
public class ApAuthor implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//主键
    private String name;//作者名称
    private Boolean type;//0 爬取数据    1 签约合作商   2 平台自媒体人
    private Integer userId;//社交账号ID
    private Date createdTime;//创建时间
    private Integer wmUserId;//自媒体账号
    
}
